generic string library · Supported
Maintainers
- M Kees Cook <kees@kernel.org>
- R Andy Shevchenko <andy@kernel.org>
Paths
- F
include/linux/string.h - F
include/linux/string_choices.h - F
include/linux/string_helpers.h - F
lib/string.c - F
lib/string_helpers.c - F
lib/tests/string_helpers_kunit.c - F
lib/tests/string_kunit.c - F
scripts/coccinelle/api/string_choices.cocci
Last 30 days
Most active threads (last 7 days)
-
DORMANTno replies
[PATCH] lib/string: fix memchr_inv() for large ranges
2026-06-21 12:11 · 0 replies in 7d · Bradley Morgan <hidden>
Active reviewers (last 30 days)
-
Feng Jiang <hidden>
1 attestation (1 Co-developed-by) · last on 2026-05-26
Recent patches
Most-recent 30 patches in this subsystem on linux-hardening (capped at 30), ordered by date desc.
-
DORMANTno replies
[PATCH] lib/string: fix memchr_inv() for large ranges
2026-06-21 · Bradley Morgan <hidden> -
COOLING12d
Re: [PATCH net-next] net/devlink: Use strscpy() to copy strings into arrays
2026-06-10 · Kees Cook <kees@kernel.org> -
COOLING11d
[PATCH v4 6/8] string: introduce memcpy_streaming() helpers
2026-06-03 · Li Zhe <hidden> -
COLD19d
[PATCH v1 1/1] string: Add missing Return sections
2026-06-03 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
COLD25d
[PATCH v3 6/8] string: introduce memcpy_streaming() helpers
2026-05-27 · Li Zhe <hidden> -
DORMANTno replies
[PATCH] lib/string_kunit: add strnlen() tests for strings without NUL terminator
2026-05-26 · Zongmin Zhou <hidden> -
COLD28d
[PATCH v2 5/7] string: introduce memcpy_streaming() helpers
2026-05-21 · Li Zhe <hidden> -
DORMANTno replies
[PATCH 2/2] lib/string_kunit: extend benchmarks and unit test to memchr()
2026-05-20 · Milan Tripkovic <hidden> -
DORMANTno replies
[PATCH v6 2/2] lib/string_kunit: extend benchmarks and unit test to memcmp()
2026-05-20 · Milan Tripkovic <hidden> -
COLD34d
[PATCH v5 2/2] lib/string_kunit: extend benchmarks and unit test to memcmp()
2026-05-19 · Milan Tripkovic <hidden> -
COLD34d
[PATCH v4 2/2] lib/string_kunit: extend benchmarks and unit test to memcmp()
2026-05-18 · Milan Tripkovic <hidden> -
DORMANTno replies
[PATCH v3 2/2] lib/string_kunit: extend benchmarks and unit test to memcmp()
2026-05-15 · Milan Tripkovic <hidden> -
COLD34d
IN LINUX-NEXT [PATCH] string: use min in sized_strscpy
2026-05-14 · Thorsten Blum <thorsten.blum@linux.dev> -
COLD38d
[PATCH v2 2/2] lib/string_kunit: extend benchmarks and unit test to memcmp()
2026-05-14 · Milan Tripkovic <hidden> -
COLD42d
[PATCH v3 3/3] coccinelle: Add rules to find str_alloc_free() replacements
2026-05-07 · Jiazi Li <hidden> -
COLD42d
REVIEWED: 1 (0M) [PATCH v3 1/3] lib/string_choices: Add str_alloc_free() helper
2026-05-07 · Jiazi Li <hidden> -
COLD47d
REVIEWED: 1 (0M) [PATCH v3] coccinelle: Adjust the position of some coccinelle rules
2026-05-06 · Jiazi Li <hidden> -
COLD49d
[PATCH] string: use strnlen in strlcat
2026-04-30 · Thorsten Blum <thorsten.blum@linux.dev> -
COLD52d
REVIEWED: 1 (0M) [PATCH v2 2/2] coccinelle: Add rules to find str_alloc_free() replacements
2026-04-30 · Jiazi Li <hidden> -
COLD52d
REVIEWED: 1 (0M) [PATCH v2 1/2] lib/string_choices: Add str_alloc_free() helper
2026-04-30 · Jiazi Li <hidden> -
COLD54d
REVIEWED: 1 (0M) [PATCH 2/2] coccinelle: Add rules to find str_alloc_free() replacements
2026-04-29 · Jiazi Li <hidden> -
COLD54d
REVIEWED: 1 (0M) [PATCH 1/2] lib/string_choices: Add str_alloc_free() helper
2026-04-29 · Jiazi Li <hidden> -
DORMANTno replies
[PATCH v1 1/1] string: Group zero related memory APIs in the header
2026-04-22 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE61d
[PATCH] lib/tests: add string_get_size() boundary tests
2026-04-21 · Shuvam Pandey <hidden> -
STALE62d
[PATCH v2] lib/string_helpers: renormalize string_get_size() after rounding carry
2026-04-19 · Shuvam Pandey <hidden> -
COLD40d
[PATCH 2/2] lib/string_helpers: annotate struct strarray with __counted_by_ptr
2026-04-15 · Thorsten Blum <thorsten.blum@linux.dev> -
COLD40d
[PATCH 1/2] lib/string_helpers: drop redundant allocation in kasprintf_strarray
2026-04-15 · Thorsten Blum <thorsten.blum@linux.dev> -
STALE62d
[PATCH] lib/string_helpers: fix string_get_size() unit promotion after rounding
2026-04-07 · Shuvam Pandey <hidden> -
STALE74d
IN LINUX-NEXT [PATCH v1 2/2] lib/tests: string_helpers: Don't use "proxy" headers
2026-04-06 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE74d
IN LINUX-NEXT [PATCH v1 1/2] lib/tests: string_helpers: Decouple unescape and escape cases
2026-04-06 · Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Needs attention (review trailers in, no pickup)
Patches with review trailers that haven't landed in mainline and haven't been Acked by a maintainer. Oldest first.
-
STALE131d
REVIEWED: 1 (0M) [PATCH] vsnprintf: drop __printf() attributes on binary printing functions
2026-02-04 · Arnd Bergmann <arnd@kernel.org> · 1 Acked-by -
COLD54d
REVIEWED: 1 (0M) [PATCH 2/2] coccinelle: Add rules to find str_alloc_free() replacements
2026-04-29 · Jiazi Li <hidden> · 1 Tested-by -
COLD52d
REVIEWED: 1 (0M) [PATCH v2 2/2] coccinelle: Add rules to find str_alloc_free() replacements
2026-04-30 · Jiazi Li <hidden> · 1 Tested-by -
COLD47d
REVIEWED: 1 (0M) [PATCH v3] coccinelle: Adjust the position of some coccinelle rules
2026-05-06 · Jiazi Li <hidden> · 1 Tested-by
Quiet for 30+ days
Patches with no review trailers and no replies. Either the author is heads-down elsewhere or these slipped through. Oldest first.
-
STALE154d
[PATCH v2 05/14] lib/string_kunit: add correctness test for strlen
2026-01-13 · Feng Jiang <hidden> -
STALE154d
[PATCH v2 07/14] lib/string_kunit: add correctness test for strrchr()
2026-01-13 · Feng Jiang <hidden> -
STALE74d
IN LINUX-NEXT [PATCH v1 2/2] lib/tests: string_helpers: Don't use "proxy" headers
2026-04-06 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
STALE74d
IN LINUX-NEXT [PATCH v1 1/2] lib/tests: string_helpers: Decouple unescape and escape cases
2026-04-06 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
COLD40d
[PATCH 2/2] lib/string_helpers: annotate struct strarray with __counted_by_ptr
2026-04-15 · Thorsten Blum <thorsten.blum@linux.dev> -
DORMANTno replies
[PATCH v1 1/1] string: Group zero related memory APIs in the header
2026-04-22 · Andy Shevchenko <andriy.shevchenko@linux.intel.com> -
COLD42d
[PATCH v3 3/3] coccinelle: Add rules to find str_alloc_free() replacements
2026-05-07 · Jiazi Li <hidden> -
DORMANTno replies
[PATCH v3 2/2] lib/string_kunit: extend benchmarks and unit test to memcmp()
2026-05-15 · Milan Tripkovic <hidden> -
COLD34d
[PATCH v4 2/2] lib/string_kunit: extend benchmarks and unit test to memcmp()
2026-05-18 · Milan Tripkovic <hidden> -
DORMANTno replies
[PATCH v6 2/2] lib/string_kunit: extend benchmarks and unit test to memcmp()
2026-05-20 · Milan Tripkovic <hidden>